home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / modelers / geomview / source.lha / Geomview / include / transobj.h < prev    next >
C/C++ Source or Header  |  1993-01-29  |  1KB  |  38 lines

  1. /* Copyright (c) 1992 The Geometry Center; University of Minnesota
  2.    1300 South Second Street;  Minneapolis, MN  55454, USA;
  3.    
  4. This file is part of geomview/OOGL. geomview/OOGL is free software;
  5. you can redistribute it and/or modify it only under the terms given in
  6. the file COPYING, which you should have received along with this file.
  7. This and other related software may be obtained via anonymous ftp from
  8. geom.umn.edu; email: software@geom.umn.edu. */
  9.  
  10. /* Authors: Charlie Gunn, Pat Hanrahan, Stuart Levy, Tamara Munzner, Mark Phillips */
  11.  
  12. #ifndef _TRANSOBJ_
  13. #define _TRANSOBJ_
  14.  
  15. #ifndef _HANDLE_
  16. #  include "handle.h"
  17. #endif /*_HANDLE_*/
  18.  
  19. #define    TRANSMAGIC    OOGLMagic('t', 1)
  20.  
  21. typedef struct TransObj {
  22.     REFERENCEFIELDS
  23.     Transform T;
  24. } TransObj;
  25.  
  26. extern void TransPosition( TransObj *tobj, Transform Tinto );
  27. extern void TransTransformTo( TransObj *tobj, Transform Tfrom );
  28. extern void TransDelete( TransObj *tobj );
  29.  
  30. extern int TransStreamIn( Pool *, Handle **, Transform );
  31. extern int TransStreamOut( Pool *, Handle *, Transform );
  32. extern TransObj *TransCreate( Transform );
  33.  
  34. extern void TransUpdate( Handle **transhandle, Ref *ignored, Transform );
  35.  
  36.  
  37. #endif /*_TRANSOBJ_*/
  38.